package com.gsj.boot.mapper;


import com.gsj.boot.model.User;
import com.gsj.boot.model.UserTb;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @program: mybatislx
 * @description:
 * @author: 郭书江
 * @create: 2022-05-20 09:43
 **/
@Mapper
public interface UserMapper {

        List<User> getAll();

        User getOne(Long id);

        int insert(User user);

        int update(String userName,String passWord);

        int delete(Long id);

        List<UserTb> getBigData();

}
